package com.cloudeye.business.multi.bus.rest;

import com.cloudeye.business.multi.bus.service.HelloService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: lafangyuan
 * @Date: 2021/9/14 21:00
 */
@RestController
public class HelloController {

    @Autowired
    private HelloService helloService;

    @GetMapping("/v2/hello")
    public String hello(){
        return helloService.hello();
    }
}
